\hypertarget{class_alfar_engine_1_1_game_object}{
\section{\-Alfar\-Engine.\-Game\-Object \-Class \-Reference}
\label{class_alfar_engine_1_1_game_object}\index{\-Alfar\-Engine.\-Game\-Object@{\-Alfar\-Engine.\-Game\-Object}}
}


\-The abstract class that define an \-Object of the \hyperlink{class_alfar_engine_1_1_engine}{\-Engine}. \-Subclass this to allow specification (redefinition of \-Update and \-Draw)  


\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_alfar_engine_1_1_game_object_aaaeea3dc1371620bac3c6e5a40209983}{\-Game\-Object} ()
\begin{DoxyCompactList}\small\item\em \-Build an object with the default name \char`\"{}\-Object\char`\"{}. \end{DoxyCompactList}\item 
\hyperlink{class_alfar_engine_1_1_game_object_a450d0ead780785fdcc907cf18e0c1a06}{\-Game\-Object} (string p\-Name)
\begin{DoxyCompactList}\small\item\em build a new \-Object. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_alfar_engine_1_1_game_object_a6e9787a9e1396a016fa8eda3c4ca1fc7}{\-Update} (\-Game\-Time p\-Time)
\begin{DoxyCompactList}\small\item\em \-Update this object (call update on all components) \end{DoxyCompactList}\item 
virtual void \hyperlink{class_alfar_engine_1_1_game_object_ab0235daf877e18afa435e18411349fbc}{\-Draw} (\-Game\-Time p\-Time)
\begin{DoxyCompactList}\small\item\em \-Draw this object (call draw on all components) \end{DoxyCompactList}\item 
\hypertarget{class_alfar_engine_1_1_game_object_af29848e93698c5100a14720ffb7d680d}{
virtual void {\bfseries \-Draw} (\-Game\-Time p\-Time, \-Color p\-Color)}
\label{class_alfar_engine_1_1_game_object_af29848e93698c5100a14720ffb7d680d}

\item 
void \hyperlink{class_alfar_engine_1_1_game_object_a068ab559bdbc54f7ea3391643e020e64}{\-Add\-Object} (\hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} p\-Child)
\begin{DoxyCompactList}\small\item\em \-Add an \-Object as \-Child of this \-Object. \end{DoxyCompactList}\item 
\-T \hyperlink{class_alfar_engine_1_1_game_object_a7183d3ccc258e2b773503e7b44e5dce4}{\-Add\-Component$<$ T $>$} ()
\begin{DoxyCompactList}\small\item\em \-Add a component of type \-T. \end{DoxyCompactList}\item 
\-T \hyperlink{class_alfar_engine_1_1_game_object_a2422d68c615aa99963ab30b723ff26ab}{\-Get\-Component$<$ T $>$} ()
\begin{DoxyCompactList}\small\item\em \-Return the first component of type \-T it find. if none are found, return null. \end{DoxyCompactList}\item 
void \hyperlink{class_alfar_engine_1_1_game_object_ad49fae9f18d37e18a963fceb6e0ecd00}{\-Build\-Bounding\-Rect} ()
\begin{DoxyCompactList}\small\item\em \-Build the bounding\-Rect upward. \-Call this for example at the start of the level if you're bulding the level proceduraly. \-It will allow to optimize the drawing. \end{DoxyCompactList}\item 
\hypertarget{class_alfar_engine_1_1_game_object_aef979a683e9285365608586771310717}{
void {\bfseries \-Update\-Bouding\-Rect\-Upward} ()}
\label{class_alfar_engine_1_1_game_object_aef979a683e9285365608586771310717}

\item 
bool \hyperlink{class_alfar_engine_1_1_game_object_a2dda7d38e67d0b5bb64d6c243a8e3c58}{\-Is\-Visible} ()
\begin{DoxyCompactList}\small\item\em \-Check if this gameobject is visible in the current viewport (\-Engine.\-current\-Viewport). \end{DoxyCompactList}\item 
\hypertarget{class_alfar_engine_1_1_game_object_aa621b9eee14094603922339e9aa4177a}{
\hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} {\bfseries \-Get\-Child} (int i)}
\label{class_alfar_engine_1_1_game_object_aa621b9eee14094603922339e9aa4177a}

\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_alfar_engine_1_1_game_object_a9cb60191087ad7622222725b0fefb92d}{
string {\bfseries m\-Name}}
\label{class_alfar_engine_1_1_game_object_a9cb60191087ad7622222725b0fefb92d}

\item 
\hypertarget{class_alfar_engine_1_1_game_object_a861a94cb8392f3532dbd57f0d4e3c8c7}{
\-Vector2 {\bfseries m\-Pos}}
\label{class_alfar_engine_1_1_game_object_a861a94cb8392f3532dbd57f0d4e3c8c7}

\item 
\hypertarget{class_alfar_engine_1_1_game_object_a76361f73f1ae554f15880d5e0f5e53a1}{
\hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} {\bfseries m\-Parent}}
\label{class_alfar_engine_1_1_game_object_a76361f73f1ae554f15880d5e0f5e53a1}

\item 
\hypertarget{class_alfar_engine_1_1_game_object_a659ff7bd3fcd73c3fc1a30069dd32c45}{
\-List$<$ \hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} $>$ {\bfseries m\-Children}}
\label{class_alfar_engine_1_1_game_object_a659ff7bd3fcd73c3fc1a30069dd32c45}

\item 
\hypertarget{class_alfar_engine_1_1_game_object_aaa00746a10e04a0475b86ce1939aebb5}{
\-List$<$ \hyperlink{class_alfar_engine_1_1_components_1_1_a_component}{\-A\-Component} $>$ {\bfseries m\-Components}}
\label{class_alfar_engine_1_1_game_object_aaa00746a10e04a0475b86ce1939aebb5}

\item 
\hypertarget{class_alfar_engine_1_1_game_object_aa43305b73d2b03cbbadd16a6fc431b63}{
\-Rectangle {\bfseries m\-Bounding\-Rect}}
\label{class_alfar_engine_1_1_game_object_aa43305b73d2b03cbbadd16a6fc431b63}

\item 
\hypertarget{class_alfar_engine_1_1_game_object_af8838be784caee3d122fd667b3fb46b5}{
\-Rectangle {\bfseries m\-World\-B\-Box}}
\label{class_alfar_engine_1_1_game_object_af8838be784caee3d122fd667b3fb46b5}

\item 
\hypertarget{class_alfar_engine_1_1_game_object_a149bc6b8d4a59694851c4d1713b854b1}{
bool {\bfseries m\-Dirty}}
\label{class_alfar_engine_1_1_game_object_a149bc6b8d4a59694851c4d1713b854b1}

\end{DoxyCompactItemize}
\subsection*{\-Properties}
\begin{DoxyCompactItemize}
\item 
\-Vector2 \hyperlink{class_alfar_engine_1_1_game_object_a8ffa5bca5f8ce44417b9f30b7970323c}{position}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em \-The world position of this object. \end{DoxyCompactList}\item 
string \hyperlink{class_alfar_engine_1_1_game_object_a7cd32055302c166fefc83b37ddbf9bd4}{name}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em \-The name of this object (by default \char`\"{}\-Object\char`\"{}) \end{DoxyCompactList}\item 
\hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} \hyperlink{class_alfar_engine_1_1_game_object_a6a9da67e81678404bf5adb27c00d4088}{parent}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em \-The parent of this object, null if none. \end{DoxyCompactList}\item 
int \hyperlink{class_alfar_engine_1_1_game_object_af3526368038424c518d21ed5cb66025e}{children\-Count}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em \-Return the number of children. \end{DoxyCompactList}\item 
\-Rectangle \hyperlink{class_alfar_engine_1_1_game_object_a4315aa8530fca99bcf9a15e1bf94dd6b}{bounds}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em \-The bouding rectangle of this data (never change this manually!) \end{DoxyCompactList}\item 
\-Rectangle \hyperlink{class_alfar_engine_1_1_game_object_a47e41e2fe05c36ee5d41f6239ece5e05}{local\-Bounds}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em the bound in local space (relative to it's parent) \end{DoxyCompactList}\item 
bool \hyperlink{class_alfar_engine_1_1_game_object_aa43aca9e76b69569ff979daf487e33f3}{dirty}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}
\begin{DoxyCompactList}\small\item\em set this \hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} as \char`\"{}dirty\char`\"{}, meaning it need to update all it's child, and recompute the bounds of its hierarchy \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-The abstract class that define an \-Object of the \hyperlink{class_alfar_engine_1_1_engine}{\-Engine}. \-Subclass this to allow specification (redefinition of \-Update and \-Draw) 



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{class_alfar_engine_1_1_game_object_aaaeea3dc1371620bac3c6e5a40209983}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!\-Game\-Object@{\-Game\-Object}}
\index{\-Game\-Object@{\-Game\-Object}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{\-Game\-Object}]{\setlength{\rightskip}{0pt plus 5cm}\-Alfar\-Engine.\-Game\-Object.\-Game\-Object (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_aaaeea3dc1371620bac3c6e5a40209983}


\-Build an object with the default name \char`\"{}\-Object\char`\"{}. 

\hypertarget{class_alfar_engine_1_1_game_object_a450d0ead780785fdcc907cf18e0c1a06}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!\-Game\-Object@{\-Game\-Object}}
\index{\-Game\-Object@{\-Game\-Object}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{\-Game\-Object}]{\setlength{\rightskip}{0pt plus 5cm}\-Alfar\-Engine.\-Game\-Object.\-Game\-Object (
\begin{DoxyParamCaption}
\item[{string}]{p\-Name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a450d0ead780785fdcc907cf18e0c1a06}


build a new \-Object. 


\begin{DoxyParams}{\-Parameters}
{\em p\-Name} & \-The name of this object\\
\hline
\end{DoxyParams}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_alfar_engine_1_1_game_object_a7183d3ccc258e2b773503e7b44e5dce4}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!\-Add\-Component$<$ T $>$@{\-Add\-Component$<$ T $>$}}
\index{\-Add\-Component$<$ T $>$@{\-Add\-Component$<$ T $>$}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{\-Add\-Component$<$ T $>$}]{\setlength{\rightskip}{0pt plus 5cm}\-T \-Alfar\-Engine.\-Game\-Object.\-Add\-Component$<$ \-T $>$ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a7183d3ccc258e2b773503e7b44e5dce4}


\-Add a component of type \-T. 


\begin{DoxyTemplParams}{\-Template Parameters}
{\em \-T} & \-The \-Type of the \-Component to \-Add. \-Must be derived from \-A\-Component\\
\hline
\end{DoxyTemplParams}
\begin{DoxyReturn}{\-Returns}

\end{DoxyReturn}
\begin{Desc}
\item[\-Type Constraints]\begin{description}
\item[{\em \-T} : {\em \-A\-Component}]\end{description}
\end{Desc}
\hypertarget{class_alfar_engine_1_1_game_object_a068ab559bdbc54f7ea3391643e020e64}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!\-Add\-Object@{\-Add\-Object}}
\index{\-Add\-Object@{\-Add\-Object}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{\-Add\-Object}]{\setlength{\rightskip}{0pt plus 5cm}void \-Alfar\-Engine.\-Game\-Object.\-Add\-Object (
\begin{DoxyParamCaption}
\item[{{\bf \-Game\-Object}}]{p\-Child}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a068ab559bdbc54f7ea3391643e020e64}


\-Add an \-Object as \-Child of this \-Object. 


\begin{DoxyParams}{\-Parameters}
{\em p\-Child} & \\
\hline
\end{DoxyParams}
\hypertarget{class_alfar_engine_1_1_game_object_ad49fae9f18d37e18a963fceb6e0ecd00}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!\-Build\-Bounding\-Rect@{\-Build\-Bounding\-Rect}}
\index{\-Build\-Bounding\-Rect@{\-Build\-Bounding\-Rect}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{\-Build\-Bounding\-Rect}]{\setlength{\rightskip}{0pt plus 5cm}void \-Alfar\-Engine.\-Game\-Object.\-Build\-Bounding\-Rect (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_ad49fae9f18d37e18a963fceb6e0ecd00}


\-Build the bounding\-Rect upward. \-Call this for example at the start of the level if you're bulding the level proceduraly. \-It will allow to optimize the drawing. 

\hypertarget{class_alfar_engine_1_1_game_object_ab0235daf877e18afa435e18411349fbc}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!\-Draw@{\-Draw}}
\index{\-Draw@{\-Draw}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{\-Draw}]{\setlength{\rightskip}{0pt plus 5cm}virtual void \-Alfar\-Engine.\-Game\-Object.\-Draw (
\begin{DoxyParamCaption}
\item[{\-Game\-Time}]{p\-Time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_ab0235daf877e18afa435e18411349fbc}


\-Draw this object (call draw on all components) 


\begin{DoxyParams}{\-Parameters}
{\em p\-Time} & \\
\hline
\end{DoxyParams}
\hypertarget{class_alfar_engine_1_1_game_object_a2422d68c615aa99963ab30b723ff26ab}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!\-Get\-Component$<$ T $>$@{\-Get\-Component$<$ T $>$}}
\index{\-Get\-Component$<$ T $>$@{\-Get\-Component$<$ T $>$}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{\-Get\-Component$<$ T $>$}]{\setlength{\rightskip}{0pt plus 5cm}\-T \-Alfar\-Engine.\-Game\-Object.\-Get\-Component$<$ \-T $>$ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a2422d68c615aa99963ab30b723ff26ab}


\-Return the first component of type \-T it find. if none are found, return null. 


\begin{DoxyTemplParams}{\-Template Parameters}
{\em \-T} & \-The type you want to get\\
\hline
\end{DoxyTemplParams}
\begin{DoxyReturn}{\-Returns}
the component if found, null if not
\end{DoxyReturn}
\begin{Desc}
\item[\-Type Constraints]\begin{description}
\item[{\em \-T} : {\em \-A\-Component}]\end{description}
\end{Desc}
\hypertarget{class_alfar_engine_1_1_game_object_a2dda7d38e67d0b5bb64d6c243a8e3c58}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!\-Is\-Visible@{\-Is\-Visible}}
\index{\-Is\-Visible@{\-Is\-Visible}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{\-Is\-Visible}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Alfar\-Engine.\-Game\-Object.\-Is\-Visible (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a2dda7d38e67d0b5bb64d6c243a8e3c58}


\-Check if this gameobject is visible in the current viewport (\-Engine.\-current\-Viewport). 

\begin{DoxyReturn}{\-Returns}
true if inside the viewport, false otherwise
\end{DoxyReturn}
\hypertarget{class_alfar_engine_1_1_game_object_a6e9787a9e1396a016fa8eda3c4ca1fc7}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!\-Update@{\-Update}}
\index{\-Update@{\-Update}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{\-Update}]{\setlength{\rightskip}{0pt plus 5cm}virtual void \-Alfar\-Engine.\-Game\-Object.\-Update (
\begin{DoxyParamCaption}
\item[{\-Game\-Time}]{p\-Time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a6e9787a9e1396a016fa8eda3c4ca1fc7}


\-Update this object (call update on all components) 


\begin{DoxyParams}{\-Parameters}
{\em p\-Time} & \\
\hline
\end{DoxyParams}


\subsection{\-Property \-Documentation}
\hypertarget{class_alfar_engine_1_1_game_object_a4315aa8530fca99bcf9a15e1bf94dd6b}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!bounds@{bounds}}
\index{bounds@{bounds}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{bounds}]{\setlength{\rightskip}{0pt plus 5cm}\-Rectangle \-Alfar\-Engine.\-Game\-Object.\-bounds\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a4315aa8530fca99bcf9a15e1bf94dd6b}


\-The bouding rectangle of this data (never change this manually!) 

\hypertarget{class_alfar_engine_1_1_game_object_af3526368038424c518d21ed5cb66025e}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!children\-Count@{children\-Count}}
\index{children\-Count@{children\-Count}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{children\-Count}]{\setlength{\rightskip}{0pt plus 5cm}int \-Alfar\-Engine.\-Game\-Object.\-children\-Count\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_af3526368038424c518d21ed5cb66025e}


\-Return the number of children. 

\hypertarget{class_alfar_engine_1_1_game_object_aa43aca9e76b69569ff979daf487e33f3}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!dirty@{dirty}}
\index{dirty@{dirty}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{dirty}]{\setlength{\rightskip}{0pt plus 5cm}bool \-Alfar\-Engine.\-Game\-Object.\-dirty\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_aa43aca9e76b69569ff979daf487e33f3}


set this \hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} as \char`\"{}dirty\char`\"{}, meaning it need to update all it's child, and recompute the bounds of its hierarchy 

\hypertarget{class_alfar_engine_1_1_game_object_a47e41e2fe05c36ee5d41f6239ece5e05}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!local\-Bounds@{local\-Bounds}}
\index{local\-Bounds@{local\-Bounds}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{local\-Bounds}]{\setlength{\rightskip}{0pt plus 5cm}\-Rectangle \-Alfar\-Engine.\-Game\-Object.\-local\-Bounds\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a47e41e2fe05c36ee5d41f6239ece5e05}


the bound in local space (relative to it's parent) 

\hypertarget{class_alfar_engine_1_1_game_object_a7cd32055302c166fefc83b37ddbf9bd4}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!name@{name}}
\index{name@{name}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}string \-Alfar\-Engine.\-Game\-Object.\-name\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a7cd32055302c166fefc83b37ddbf9bd4}


\-The name of this object (by default \char`\"{}\-Object\char`\"{}) 

\hypertarget{class_alfar_engine_1_1_game_object_a6a9da67e81678404bf5adb27c00d4088}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!parent@{parent}}
\index{parent@{parent}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{parent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Game\-Object} \-Alfar\-Engine.\-Game\-Object.\-parent\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a6a9da67e81678404bf5adb27c00d4088}


\-The parent of this object, null if none. 

\hypertarget{class_alfar_engine_1_1_game_object_a8ffa5bca5f8ce44417b9f30b7970323c}{
\index{\-Alfar\-Engine\-::\-Game\-Object@{\-Alfar\-Engine\-::\-Game\-Object}!position@{position}}
\index{position@{position}!AlfarEngine::GameObject@{\-Alfar\-Engine\-::\-Game\-Object}}
\subsubsection[{position}]{\setlength{\rightskip}{0pt plus 5cm}\-Vector2 \-Alfar\-Engine.\-Game\-Object.\-position\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}}
\label{class_alfar_engine_1_1_game_object_a8ffa5bca5f8ce44417b9f30b7970323c}


\-The world position of this object. 



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-E\-:/\-X\-N\-A/alfar\-Engine/\-Alfar\-Engine/\-Game\-Object.\-cs\end{DoxyCompactItemize}
